package com.by.mapper;

import com.by.bean.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper//声明为mapper层
public interface ProductMapper {
    List<Product> queryAll();
    int save(@Param("list") List<Product> list);
}
